package com.qqtech.qquan.sales.service;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.sales.model.SalesBase;
import com.qqtech.qquan.sales.model.SalesBaseVo;

public interface SalesBaseService extends BaseService<SalesBase> {
	
	/**
	 * 获取店铺最新有效活动
	 * @param shopId
	 * @return
	 */
	public SalesBaseVo getByShopId(Integer shopId);
    /**
     * 根据促销店铺类型和店铺Id最新有效活动
     * @param target 
     * @param shopId
     * @return
     */
	public SalesBaseVo getByTarget(Integer target, Integer shopId);
}